package com.lean.springcloud.busrabbitmqlearn.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Time : 2018/8/15 11:55
 * @Version : 1.0
 */
@Configuration
public class RabbitConfig {

    @Bean
    public Queue hellQueue(){
        return new Queue("hello");
    }


}
